<table border="1" cellspacing="0" class="table">
    <thead>
      <tr>
        <th>地区</th>
        <th>大区</th>
        <th>小区</th>
        <th>城市</th>
        <th>编码</th>
        <th>专营店</th>
        <th>年份</th>
        <th>月份</th>
        <th>项目主题</th>
        <th>标准动作</th>
        <th>媒体名称</th>
        <th>发布时间段</th>
        <th>发布频次</th>
        <th>结算申请费用</th>
      </tr>
    </thead>
    <tbody>
    <?php
    $storeTotal = array();
    foreach($list as $k => $v): ?>
      <tr>
        <td><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['area'] : ''?></td>
        <td><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['region'] : ''?></td>
        <td><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['spsarea'] : ''?></td>
        <td><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['city'] : ''?></td>
        <td><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['coding'] : ''?></td>
        <td><?=isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']]['storeName'] : ''?></td>
        <td>2015</td>
        <td><?=$timeUnitStr?>月</td>
        <td><?php echo $v['theme']; ?></td>
        <td><?php echo $v['actionTypeStr']; ?></td>
        <td><?php echo $v['mediaName'] ?></td>
        <td><?php echo $v['startTime'].'至'.$v['endTime'] ?></td>
        <td><?php echo $v['frequency'] ?></td>
        <td><?php echo $v['settleApply'] ?></td>
      </tr>
    <?php endforeach; ?>
    </tbody>
</table>